{extend name="common/main"}

{block name="head"}

{include file="common/head"}

{/block}

{block name="content"}

<link href="__STATIC__/home/css/features.css" rel="stylesheet" type="text/css" />

<div class="contentmain"> 
  <!--tile-->
  <div class="tszl_title">
    <h3>当前位置：<a href="{:url('home/index/index')}">首页</a><span>></span>临床病案</h3>
  </div>
  <div class="sub_con">
    <div class="tszl_sub"> <span class="tszl_big">临床病案</span><span class="tszl_small">CLINIC</span> </div>
    <div class="tszl_sx">
      <div class="search_results">
        <a href="{:url('home/clinic/index')}">全部</a>><span>{notempty name="kw"}"{$kw}"{else /}{$kw}{/notempty}</span>共<b>{$snum|default=0}</b>个 临床病案
      </div>
      <div id="page-search-store" class="border sxcon">
        <div class="search-by by-category relative">
          <dl class="relative clearfix">
            <dt class="Fleft"><a href="javascript:;">按地区：</a></dt>
            <dd class="Fleft show-con">
                <a href="{:url('home/clinic/index')}?aid=&kw={:input('kw')}">
                  <span {empty name="aid"}class="search_float"{/empty}>不限</span>
                </a>
                {volist name="areas" id="vo" empty=""}
                <a href="{:url('home/clinic/index')}?aid={$vo['area_id']}&kw={:input('kw')}">
                  <span {eq name="aid" value="$vo.area_id"}class="search_float"{/eq}>{$vo.area_name}</span>
                </a>
                {/volist}
            </dd>
            <dd class="Fright show-more">
              <h3 class="pointer clearfix">更多</h3>
            </dd>
          </dl>
        </div>
      </div>
    </div>
    <div class="tszl_list">
      <ul>
        {volist name="list" id="vo" offset="0" length="" empty="暂无数据"}
        <li>
            <div class="tszl_pic">
                <a href="javascript:;" class="pp" data-m="clinic" data-id="{$vo.id}"><img src="{$vo.thumb}"></a>
            </div>
            <div class="tszl_font">
                <h3><a href="javascript:;" class="pp" data-m="clinic" data-id="{$vo.id}">{$vo.title}</a></h3>
                <p><a href="javascript:;" class="pp" data-m="clinic" data-id="{$vo.id}">{$vo.illness}</a></p>
            </div>
            <div class="tszl_bottom">
                <div class="tszl_time Fleft">{$vo.createtime|date='Y-m-d', ###}</div>
                <div class="tszl_text Fright">{$vo.did|get_model_value='Disease', 'title'}</div>
            </div>
        </li>
        {/volist}
      </ul>
    </div>
    <!-- <div class="tcdPageCode"><div class="page">{$page}</div></div>  -->
    <div class="page">{$page}</div>   
    <style type="text/css">
      .page .pagination {position:inherit;display: inline-block; padding-left: 0; margin: 20px 0 0px; border-radius: 4px; }
      .page .pagination>li {display: inline;}
      .page .pagination>li>a, .page .pagination>li>span {position: relative; float: left; padding: 6px 12px; margin-left: -1px; line-height: 1.42857143; color: #78201f; text-decoration: none; background-color: #fff; border: 1px solid #ddd; cursor: pointer; margin: 0 2px;}
      .page .pagination>.active span{z-index: 3; color: #fff; cursor: default; background-color: #78201f; border-color: #78201f;} .page .pagination>.disabled span{color: #bfbfbf; cursor: not-allowed; background-color: #fff; border-color: #ddd;} 
      .page .pagination>li>a:hover{background: #78201f; color: #fff;}
    </style>
  </div>
</div>

{/block}

{block name="footer"}

{include file="common/footer"}

{/block}

{block name="script"}

{include file="common/script"}

{/block}